
import { _decorator, Component, Node, Vec2 } from 'cc';
import { CEventName } from '../FightControl';
const { ccclass, property } = _decorator;


export enum BulletType {
    normal
}
@ccclass('Bullet')
export abstract class BulletOrigin extends Component {
    protected mltPoint = [];
    protected mV2Initial: Vec2 = null;
    protected onLoad(): void {
        this.node.on(CEventName.MoveFinish, this.MoveFinish, this);
    }

    MoveFinish() {
    }

    start() {

    }

    InitV2Initial(point: Vec2) {

    }

    InitLtPoint() {

    }

    get ltPoint() {
        return this.mltPoint;
    }

    get V2Initial() {
        return this.mV2Initial;
    }
}

/**m
 * [1] Class member could be defined like this.
 * [2] Use `property` decorator if your want the member to be serializable.
 * [3] Your initialization goes here.
 * [4] Your update function goes here.
 *
 * Learn more about scripting: https://docs.cocos.com/creator/3.4/manual/zh/scripting/
 * Learn more about CCClass: https://docs.cocos.com/creator/3.4/manual/zh/scripting/decorator.html
 * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.4/manual/zh/scripting/life-cycle-callbacks.html
 */
